#ifndef _LED_H_
#define _LED_H_

#include "stm32f0xx.h"


#define LED_GPIO  GPIOA 
#define LED_RCC		RCC_AHBPeriph_GPIOA

#define LED1_PORT  GPIO_Pin_3


#define LED1_ON	 			GPIO_SetBits(LED_GPIO, LED1_PORT)
#define LED1_OFF	 	 	GPIO_ResetBits(LED_GPIO, LED1_PORT)
#define LED1_TIG	 		LED_GPIO->ODR ^= LED1_PORT


void LED_Init(void);

#endif


